package routers

import (
	"genealogy/controllers"

	"github.com/gin-gonic/gin"
)

func genealogyRouter(r *gin.RouterGroup) {
	r.GET("/genealogy", controllers.GetGenealogy)
	r.DELETE("/genealogy", controllers.DelGenealogy)
	r.PUT("/genealogy", controllers.UpdateGenealogy)
	r.POST("/genealogy", controllers.AddGenealogy)
}
